home *** CD-ROM | disk | FTP | other *** search
/ Pokemon Promotional Discs / ANA_POKEMON_01.ISO / 1 / scripts / DefineSprite_127 / frame_1 / PlaceObject2_110_3 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Text File  |  2004-01-04  |  365b  |  17 lines

  1. onClipEvent(enterFrame){
  2.    trace("_currentframe =" + _currentframe);
  3.    if(_parent.smoke1.smoke1Num == 1 || _parent.smoke2.smoke2Num == 1)
  4.    {
  5.       this.gotoAndStop("stop");
  6.    }
  7.    else
  8.    {
  9.       _parent.smoke1.smoke1Num = 0;
  10.       _parent.smoke2.smoke2Num = 0;
  11.       if(_currentframe == 8)
  12.       {
  13.          this.gotoAndPlay(2);
  14.       }
  15.    }
  16. }
  17.